rotate array leetcode solution

join shbcf.ru